replace flymake with flycheck
.jsm files contain javascript
make the fix for flicker-on-scrolling more reliable