Update docpad.js

Bug fixed.