Migration from Prototype to jQuery for results folder