Improved code style and docs in elementpath.js.
Do not set path#block to root.