Update and rename factorys.js to factories.js

This name is factories
Merge pull request #2 from thwess/patch-3

Update and rename factorys.js to factories.js