Relative path for /todos (in JS) 

It makes it easier to deploy application as a submodule (for Tomcat) and does not require to keep it in root server directory