javascript re-arrange, draw extra icons