Changing jQcloud to use onload, to ensure the array is ready before rendering