[SystemInfo] Add parameter type checking in js
Merge pull request #129 from qjia7/mymaster

[SystemInfo] Add parameter type checking in js