Connected review profile to javascript