Added bower and refactored javascript, also jshint and csslint