javascript if not null then value