warn on duplicate platform.js
Fix error text