Correctly strip JS comments

I noticed that http(s):// were getting removed.