Add plugin-hook js