change html to js by following
merge