js: better cascading calls lineup