Add docstring
Moved call to initialize to HTML markup

- This is more user-friendly and we want it to be outside of the files bundled
  and minimized by require.js