added AMD wrapper for use in footwork documentation