cleaned script on all pages