Fix jquery for remote access