Address two deprecation warnings in our build.
Address two deprecation warnings in our build.

scala-js/scala-js,sjrd/scala-js,gzm0/scala-js,nicolasstucki/scala-js,nicolasstucki/scala-js,SebsLittleHelpers/scala-js,xuwei-k/scala-js,scala-js/scala-js,sjrd/scala-js,xuwei-k/scala-js,gzm0/scala-js,scala-js/scala-js,sjrd/scala-js,SebsLittleHelpers/scala-js,xuwei-k/scala-js