Added poltergeist and phantomjs with a test for javascript testing of map