First pass for platform.js