Improved JavaScript build

- production bundle does not contain full paths any more