Add define method for html, consider remove import, export because they're reversed keywords