route js fix