Update filter.php

force Safari to use JAVA for binary files and fix minor typos