fixed an issue in javascript when "path" doesn't exist
Created originally on Bitbucket by aljosa (Aljoša Mohorović)
Was already merged in Bitbucket before import, marked as merged by the import user
Created originally on Bitbucket by aljosa (Aljoša Mohorović)
Was already merged in Bitbucket before import, marked as merged by the import user