use Function instead of _new and simplified code
improve error message for a tag constructor
fix bug with double initialization after display:none -> display:block
improve the bug fix