Simplify and fix browserify issues
Fix final response value.