I am trying to use this image cropping and scaling tool provided by Bitbucket: https://bitbucket.org/atlassianlabs/avatar-picker/overview
One part of the tool uses a handle bars template: https://bitbucket.org/atlassianlabs/avatar-picker/src/4732dbb48bfdb6c33bb0da2a554269ad83606b63/templates/image-upload-and-crop.handlebars?at=master
It seems to have pre-compiled into this here: https://bitbucket.org/atlassianlabs/avatar-picker/src/4732dbb48bfdb6c33bb0da2a554269ad83606b63/templates/image-upload-and-crop.js?at=master
which takes me onto my question. When I compile the same handle bars template using node js handlebars... it ends up looking a bit different...: http://pastebin.com/ATczV2E1
... and when I try and load it in as they have done here: https://bitbucket.org/atlassianlabs/avatar-picker/src/4732dbb48bfdb6c33bb0da2a554269ad83606b63/index.html?at=master
It does not work...
I am new to handlebars... what am I getting wrong?
I understand my post is making assumptions about the handlebars file being compiled into that js file...