phantomjs: add HEAD

Closes #31351.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>