Squashed bugs in process.php and scripts.js