removes alert on bad request and logs to console

Was causing some bad behavior with phantomjs / poltergeist