Merge pull request #8329 from borjasalguero/split_js_files_rebased

Bug 843163 - [SMS] Split 'sms.js' in some files for getting a better arc...(cherry picked from commit 74cee2b2ca39fe9ba96c17f36664b4b8296cbaa8)