ResourceLoader compatible version of MediaWiki Extension:PrettyPhoto