Copy of datajs version 1.1.2 (http://datajs.codeplex.com/)