Move script
Some renames
Add use strict in js files
Some refacto
Put the signalR management in a factory