Improve check for InlineImageLiveResize

- fixes older styles' image toggling behaviour when they don't include the InlineImageLiveResize JS
Merge pull request #470 from geoffstokes/inlineimage-undefined-check

Improve check for InlineImageLiveResize