Update logpack.js