Adding a basic but useful JavascriptEmbedListener.