js.php is a class I wrote to let php integrate with javascript in a better way.