Page load fix

Reduced script size and made loading better for lower-speed connections.