add .jshintRC file
allow function inside loop