index.html: run JS last to not block rendering.

Closes #49.