external js file link error fix