Update and rename factorys.js to factories.js

This name is factories