Isn't a JS piece missing here ?