applies tidies for imageChooser (JCLOUDS-331) as suggested in pull #202

good suggestions in #202 @demobox, thanks