add ability to set spec_timeout for phantomjs running