load availpro script after page is ready