Using requirejs for deps. Added config for environments