prototype to jquery fixation