With yahtml,
(setq yahtml-lint-program "mop.rb")
enables automatic call of mop.rb by C-c t j.
Please try yahtml.