setting up initial js framework