Fix bookmarklet, add deprecation warning

Fixes #37