fix conflicts on jquery for api