adds bookmarkelt code with type as comment in the bottom