Fixed JS regressions on subscribe action

Remember that registration is not working in 3.4. This only fix this regression in the 
UI side.