fixed monitoring js - webapp