register results and some js fix for popup login box