Move app JS to omnibus.js, add basic functionality for view resizing