Delete factories.js