tested on firefox 19.0