Fix: Javascript Errors on sell.php and sell.tpl