require 'strscan' is only needed for non-Opal since 'erb' pulls in this library. However, add a `.chomp` to the end of it so that Opal doesn't import it.

```
require 'strscan'.chomp
```

Otherwise, it adds a duplicate definition of StringScanner.