Moved lightcurve script to star_detail template.