reads external js