cleanup and update jquery