Fix issue #22: Unnecessary div element.
Fix issue #18: Invalid semicolon automatic insertion.