add defer framework, make included js as .html