You can probably get rid of some repitition by creating variables for these:
```
var isAquabrowser = (engine === 'aquabrowser');
var isSummon = (engine === 'summon');
```
And then you can use these for the future if statements.
e.g. this line would then become ```if (!isAquabrowser && !isSummon) {```