new filter file to filter measurement values
refactored js file