move amd stuff into its own file - prevents Closure warning in
transit-cljs