route js formatted