0.3-rest : fix js error when no url param