Updated project Functions

Updated CSS style, HTML, fixed bugs in several JavaScript functions.