Moved dd_rest.js to root directory of app