add phantom inject js method