added handlebars mode support
updated js and ag settings