move the js in to a library
move the js out from the markup
Jasmine tests and runner