clean up the generated filterparser.js file

 * remove toSource, not used and throws warnings