fixing jshint errors adding: handlebars global, correcting regex

NOte: I'm guessing as to the reg exps intention
split jshint global declarations over several lines, added handlebars
Merge pull request #1 from tomgp/master

fixing jshint errors adding Handlebars global to the helpers js, correcting regex