Framing a technical blog post as "lol girlfriends amirite" is not humorous and is never a good idea, and does the presented scripts a disservice.
Being mean and telling people that it is only a joke, it's still mean. There are things a lot worse in the Internet, but that doesn't makes this good.<p>As an advise remember that your possible future company probably will check your online persona. Be professional, be fun but don't be mean.
Really don't need phantom.js for this. Could have setup an SSL tunneled proxy (<a href="https://nodejs.org/dist/latest-v6.x/docs/api/http.html" rel="nofollow">https://nodejs.org/dist/latest-v6.x/docs/api/http.html</a> - scroll to event 'connect' for a working code sample) and used npm's `request` package for the cookie jar.