Registration js update