Hide js on inapropriate locations