Fix some JS related docs in smw-core (JSDuck)

Fix some of the JS docs in order for JSDuck to generate
appropriate documentation.

Change-Id: I40fbbb114318a56add5f1d9980896d814f46ecd3