Got rid of some jshint errors and fixed whatever was breaking the build.

Configuring the httpProvider broke the build, but we're working on a way to fix it.