cleaned up JS for Gruntfile and resolutions for bower