JS file setup

added the required 12 functions in the notes for organization