Update restinteraction.js