Make import and importstr use relative paths.
Rebuild javascript demo.