updated documents

Added the main.js file for the goal1 project