Improved language support, valueOf now returns Julian Day, added object method, cleanup.