Change anonymous AMD module to named AMD module, fixes #214