 	for p in r
 		if p.launch_date_unix
 			core_reused = if p.reused then '*' else ''
-			cap_reused = if p.reuse.capsule then '*' else ''
+			# cap_reused = if p.reused.capsule then '*' else ''
 			t_minus = p.launch_date_unix - (new_date / 1000)
 			t_positive = if t_minus > 0 then true else false
 			timezone = -1 * new Date().getTimezoneOffset() / 60

	for core_id in core_reflown
		# loadJSON "{{ site.spacex_api }}?core_serial=#{core_id}&date=#{new_date}", cb_reflow
		loadJSON "{{ site.spacex_api }}?core_serial=#{core_id.split(".")[0]}&date=#{new_date}", cb_reflow
	console.log cap_reflown
	for cap_id in cap_reflown
		loadJSON "{{ site.spacex_api }}?cap_serial=#{cap_id}&date=#{new_date}", cb_reflow
	return

	return

cb_spacex = (r) ->
	# Sort by launch_date_unix
	r.sort (obj1, obj2) => obj1.launch_date_unix - obj2.launch_date_unix
	# for item in temporals
	# 	console.log item.flight_number, item.launch_date_unix
	table = document.createElement 'table'
	tfoot = document.createElement 'tfoot'
	tbody = document.createElement 'tbody'
