fix JS script on getUTCtime

Update the server script since now the tests use UTC time.