JS bookmark, some utilities.