more advances
changed all css object to array-like objects
deleted old code