Update plugin.js

Adding a possibility to set title attribute of the img tag, might become handy for SEO purposes.