Adds support for css and html + Only include mode js's that are needed