Dedicate params caster function. Fix `navigate.js`.