js bookmark fix