Fixed AMD behavior to allow proper importing of formReader closure.