Automate Severa workflow using PhantomJS