add inline jquery for slider