Set up the usual AMD boilerplate