"a reliable yet tiny library (at 7KB gzipped) that would
normalize everything so any code written would literally
work everywhere"
I felt the same way about needing to normalise client and server side, but the goal seems forever ambitious, considering not even IE8 can handle an extra trailing comma. This is not the only universal solution you will be using.