Separated libraries into their own module. Added script tags to force browser to download require optimized modules up front rather than waiting for server round trips.