fix naming js function (to toggleVisibilityById)