bug fix - IE - regex that tests constructor definition