Create a function which checks if the necessary Elements are loaded in page