Simple javascript object for computing birythms values