JS: fixed stock info bug because of comp ih