Updated stats.php sample script to record screen size