corrected partials (whitespace at the beginning) caused by bom
jshint now also checks javascript inside html views
fixed jshint warnings