Move from deprecated QtScript to QJSEngine

minor problem (exists in current code): certain errors are silenced (e.g. in filtering)