Update and rename mistakes.php to mistakes.js