Fixes #12. Using the latest version of jquery breaks reordering
Fixes #13. Removes the extra id in the path section of the document