Added javascript asset concatenation

Also:
- Removed some accidental refactoring artifacts
- Added the possibility of disabling the asset pipeline