Removing javascript tag from those not needing it