fixed plugin to use correct URL's for JS libs