Client: view.js split up into multiple files