fixed relative paths for JS