switch from prototype to JQuery 2.1.1