mod js for monitor type text