updated script.js with new path to getnum.php