Clean up browser detect script and replace firefox and chrome icon