used PHP instead of JavaScript for User Agent detection, added IP detection, upgraded to jQuery 1.11.0 in htmlEnd.php and used "&lt;" instead of "<"