JS backend: temporarily ignore properties and named functions in FindPreviousVisitor