Beginning platform.js compatibility