Added suncalc.js logic