added locale support (e.g. /setLocale/fr-FR)...added /js/core/BaseView.js