added javascript, including form validation, simple image carousel, modals for login, and more