Add getUri method to config.js