Fixing JS bug - image field - selecting an image which does not have a 'sizes' attribute

Signed-off-by: Elliot Condon <e@elliotcondon.com>