Huge commit: made two JS's, changed mainContent, added pages, added tab functionality