Refactored default frontend javascript
Works with no javascript
Version 2.1.0 rc