javascript model tests working and fixed duplicate Factory bug
Merge pull request #4 from froeal01/javascript_model

javascript model tests working and fixed duplicate Factory bug