Update RESTmultiply.js

Sync from master