Removes debugging code from javascript space