JSLint and bower

Changes for JSLint checks and configuration ready for adding to bower