use flymake/jshint for jsx files