Update index.js

Allow all methods in development environment