monitor.jsの簡素化．