Add self-documentation to js styleguide