changed init.js and added Request