fixed new js code to use "path"
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