add jshint; use local mocha and jshint
fix jshint errors
slightly more strict jshint rules
[style] fix variable scope definition for new jshint rules
add test for attribute tags with dashes
camel case attribute names from elements