toolkit.js now loads platform.js so remove platform.js where toolkit.js is loaded.