Added license info.
add semi-colons after functions

or it may break the code after concated and minified
Need to increment before checking the maximum value allowed by the variable
Use correct size for substr mask. This is academic only, as the current timestamp returned by a date object will already have 8 digits when converted to hex (this is the reason why the current code works
added some unit tests
Added array method
Merge remote-tracking branch 'piacentini/master'
Fixed unit tests
Merge remote-tracking branch 'jiyiniyong/master'
unit tests working again
added a semicolon for consistancy
manual version of https://github.com/jonpollock/ObjectId.js/commit/8740ed99a9131d50eeea5973c84f739902a7b9e8
more unit tests