Inline JS for Phantom