Fix root.php, update README and clean script.js