Astronomical coordinates for various projections in Javascript