Module setup (AMD, node, globals).