reduce the number of filters

check for obj type when creating links
trying new js for restock scanning

hopefully just fixes everything and is magic