[js]: Minor potential fix in watertank