fixing loading issue regarding jquery load