Call onready once assets are loaded