Updated to use new panda.js version APIs