fix: when using with commonjs/browserify PhotoSwipe class is not returned (without extra call)
build (js)