Added JS interface