Fixes some factory parameters

some of the factory parameters were out of sync with the require.js
arrays.