MINOR Documentation slightly improved for js inclusion

Although I'm not the best documentor.