restore json success response
move saving stuff to profile.js.coffee so out of the way of nickis stuff