trivial cleanup handle.js