The javascript have now a different file only for that purpose
Added some pictures and some tests are maded