Removed obsolete theme.js in drupalimagecaption plugin.
Code clean-up.
Fixed: Error thrown while inserting a new image.