Invert js loading order.