Updated js files to demonstrate how to use requirejs