raphael check if null on line 1497