grid factory: delete new functions in loop

tools: fix .jshintignore and .csslintrc files