Fix issue #22: Unnecessary div element.
Fix issue #18: Invalid semicolon automatic insertion.
Be specific, avoid variable name conflict.
Avoid confusing branch construct.
Slightly tweak attribute selector scanning.
Merge branch 'master' into gh-pages