set `self.engine` here, make it a check of just `if use_gecko`, or better yet, just `if options.slimerjs`