adding javascript to home.php