Reordered code to be valid HTML but still support drag'n'drop. Still need to fix the name of the anchor since this has been moved into the template. And for some reason the Javascript is not able to read whether something is orderable or not. The fix breaks some of the other tests fixed yesterday but they are hopefully easier to fix: the change also means that you can remove items from the sequence.