add registration js