restrict include source for platform.js