using local reference to the js and css dependencies
refactoring some code
working with locales
errors are being sent as result of the bootstrap method instead of being sent on an exception