fixed fx href javascript bug