Ensure slash at end of js discourseUrl