JS: fixing the foreign key MyISAM violations
JS: comp stockinfo