Reduce file size through DOM Level 1 API. close #898
Rebuild packages