SPA Javascript Project 1