only append script if script is not empty
Merge branch 'master' of github.com:n-h/dotjs