Fixes jsTree's relative URL construction for theme components

Calculates the path component of the URL used to load cms.changelist.js
and sets jsTree's settings.ui.theme_path relative to that.