Final project for javascript