Update masterclient.js