Revert previous javascript change and clean out assets.

Commit: Reverted previous code fix, this was actually caused by having the precompiled assets confliciting with developement assets. Note to self, remember this.