MDL-36609 javascript: ensure HTML element exists before attempting to perform JS functionality
MDL-36609 javascript: ensure HTML element exists before attempting to perform JS functionality

dilawar/moodle