use name on columns instead of index
added typeerror
jshintrc
minor fix
jshint also default
moved function