added flymake checks for javascript