remove debug from javascript