get image using JS
attr src