Updated main.php, added javascript &dummy data