revise image file at learing javascript contents