add a test for IE friendliness issue #14
trim trailing comma fixes #14