correcting the resource path of the .js library