sample js for requireJS