fix handlebars to version 1.0.8, anything later breaks stuff
Fixed inArray helper have friendly indexOf for ie8
Fix merge conflict.