Improve IE Function#name fix and move it to straps.js, since constructor.name is used there too.

Cache result and improve RegExp.