strip 'javascript' strings