fix js on Units Master Page