Refactored max to new JS structure

- Fixed bug with currency conversion when logged out
- Refactor all views to new route-mapping layout
- Removed unused JS