fix a bug of isContextRoute when context==='', as '' is boolean false value in JavaScript