updated build files and fixes jshint problems