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)
Merge pull request #8332 from borjasalguero/regression_fixed

Bug 845278 - Regression caused by 843163. Callback missing r=fcampo(cherry picked from commit 9be4d4bd72f001e60d9a0c787a1f36ccad5157f4)