Shim Builder was being a massive dickhead. Fixed with nasty javascript