Update myModule.js

Handles Response