Refactored code to different demo's, changed Jasmine version so mvn jasmine:bdd can be run and added tests that require the DOM.