formatted jquery for performance