require method and define method
Added myModule.js for demo purpose