Week two branch refactored the javascript model, the pull request is too large I will reduce the size of my pull requests in the future