docs(requirejs): update example to work in < IE9

Change the example code to allow it to be used in browsers that do not support `Object.keys` or the `.filter` method. Required for testing in IE 8 & 7