fix js -> php null judgement

fix #4