Made path to js file relative

Fixes https://github.com/Solutions-Nitriques/image_preview/issues/6#