PHP and JavaScript examples