Added support for bookmarklet