Change require order to make sure all libraries are available to the client