Header in a separate file
Model for page (used for templating)
Refactoring to use page object
jshint went crazy
lint free