Removed debug mode in JavaScript REST client