fix ready callback timing
don't render anything from an each if it is undefined