Feature/ie8 support

Latest version of Crafty breaks support for IE8, this is an attempt to fix it.

This PR could also be used to discuss about old browser support.