fix incorrect paths for javascript libraries