Add js states to the step navigation