*8472* Share JS handler in PKP lib