fail build when phantomjs exits abnormally

fixes #22
fixing bitbucket url; fixes #23