just a little spacing issue resolution not to be bugged by the coding standards watchdog
added the store var to locate the hidden input that will store the image urls
removed the id attribute from the hidden input field