turn bookmarklet into bootstrapper