Delete factory.js