Check if value is map and raise error message
Force install phantomjs in travis config