Fixed little bug in pack.js