removes jquery script tag from layout html