having fun with svg and javascript, chrome only