add index and main js file
#3 completed