ran jshinting on src. fixed some inconsistencies
fixed grunt build process