fix(JsBattleConnection.js): getConnection promise not returning value

"this" wasn't bound in an inner promise in the getConnection() function.  Fixed this so the correct value is returned when the connection is refreshed.