Fixed it so that 'Back to Top' works.

Use <meta name="x-assets-base" ...> instead of base.
Fixed not to set _blank if href is hash url.