ECMS-6125: Set up userLanguage before loading JavaScript of locale files

Fix description:
* Manual set up the available locale files for this plugin
* Check if the current user language belongs to the available locales for this plugin. Default locale is English.
* Load the locale file and the corresponding functions in ContentSelector.js