updated history.js; made it working under chromium again; export link
fixed link of link
make sure no overflow happens for location2id index