[STYLE]Refactor Messages + Fix XHR error

SJS-25
[STYLE]Change 'API' for 'SkywayJS' in the logs

SJS-25