Adding javascrit file and adjusting HTML and PHP files.