remove prolix strings at post method in oauth.js
fix name for error-function