Small update to duckpan.js