Update icon-splash.js

Fixed platform skipping logic