JS-sources for Cabal

I still can't get in-place libraries to work, so this may not be ready yet.