Replaced deprecated v8 methods with newer equivalents

Hi Patrick,

I've been playing with this library and had to recompile for my home machine. This is how I noticed that some of the v8 methods had been deprecated and replaced. After fixing those, I noticed there were a couple of failing timezone dependent tests. This should now be timezone agnostic.

Peace,
Chris Johnson