Rewrite reorder support oldest Plone
Cleanup js code