small changes to prepare the ground for pointer.js test