Create Html Img Element Javascript Value Length