replaced jquery by classes,events and domify