fixed javascript error that forced Has Image boxed to always be checked on Object admin page