Got javascript to work correctly. Also updated some more CSS styling.