Tweak window dimensions
Add jasmine test functions