fix(widget): ensure image is loaded before initializing widget

jquery.ready doesn't take into account the loading of images.
If the images are not loaded, we get wrong image dimension
causing the PPOI widget to fail.
Removing redundant javascript fixes #1

Thanks for the great suggestion, @theskumar !
Merging pull request #1 from @theskumar

Thanks for your interest in the project!