Remove debug from JavaScript