Content object js fix and create type styling