minor fixes in del.php, buypage.js