Fixes typo in main.Factory.js from contructor to constructor

I wanted to contriboot to this awesome repo :) Thanks again for showing me this!