Remove platform.js code from embed