test jQuery for eoq function