updated teamopp model for day of week and fixed jquery issues