add a remaining jquery check of null value