calculator of sun and moon location, eclipse and more in javascript