What is the version of the following sentence with correct punctuation?

Before the building of the bridge there had been a chair lift over Holmgjogv
Before the building of the bridge, there had been a chair lift over Holmgjogv.