Major javascript cleanup + working carousel