added --tap option into test-js command