Merge pull request #1 from nghuuphuoc/master

Fetch latest upstream
Reduced code usage by 366 bytes (minified)
Merge pull request #798 from shamiao/master

validator id.CN: reduced code size