Add  to . Correctly fixes #646
Merge pull request #710 from techniq/fix-setIdToElem

Add  route to setIdToElem.  Correctly fixes #646