allow javascript vars to be filtered