ios optimization and better js code for favicon and now also for ios homescreen icon