More research is required. Reading so far is encouraging that I use amdjs for both client and server.