Late load JS test

Load JS with require after load event has fired.