Replace init file

Bat Kor requested to merge issue/photoswipe-3092332:3092332-use-native-js into 3.x

Closes #3092332

Merge request reports