Improve compatibility with differents versions of CMS MS.
Correct a path bug that caused the javascript loading failure.