switch from prototype to jquery