High Critical Step Flow JavaScript