Setup javascript env

made small modification to the environment, so the individual javascript files work. Consequently edited the .js files for the landing page