first commit of pixel_util.js