Refs #10837 patch javascript, to enable the watch action