swapped out links to js resources with local links