Community Library ExternalInterface hooks

A few tweaks to support changes to scratch-flash-online for community library.
Unused import?