ADded jshintrc
allowing variable shadowing in generateObjects as the switch and break wont shadow the variable