Staging fixes

- uglify doesn't allow return outside of a function. added error logging
to gulpfile and replaced the return with a throw (to stop code execution)
- made it so we store marketplace token on clay.io marketplace load
move L102 here