Prepped javascript for getting multiplayer ready signal