adds ability to use integer dates in data source

Numbers are generally more efficient than strings in JS, plus it reinforces and avoids many datestring-related pitfalls.

Also updates cookie plugin check to look on jquery.prototype (safer/best practice).