Update ranged.js