transition from prototype to jquery for redmine 2.1+