load JS files as relative
Merge pull request #3 from jdaudier/relative

load JS files from relative path