javascript functions working, using partial for carousel, cleaned up css