Moved styling and script out of HTML page. Refactored some js. Updated the package.json.