Save routes pinned from js in db. #11