bit of tidy up on the ajax image select