code refactoring, jshint and csslint added
code refactoring, jshint and csslint added