Daybox v 4

fixed all javascript issues