test(specs): converted to use sinon-chai; Resolve #501
docs(jsStyleguide): added `type check` docs