get REST example to work with Dojo