Updated PHP and JS