Removing literal script tag from JS