Slightly better abide to MW jshint & coding standards; add docblock

Change-Id: I4df027cf04659a9add142236f35efe9e64a6212e
Merge "Slightly better abide to MW jshint & coding standards; add docblock"