use keys module instead of Object.keys for IE8

/cc @yields