Fix for Issue #6872

https://github.com/twitter/bootstrap/issues/6872

[JSBin showing error behavior](http://jsbin.com/osacec/2/)

Also:
* Added phantomjs to devDependencies
* Test port configurable.