added back js listener