almost done w/ into javascript. need to add functions and a pointer to EJS