constants fixes
js inline locale editor: now fully workin with url rewrite enabled