removed deprecated @chain
removed deprecated JS hooks