html assets class specs
refactoring