Check for currentApplet existence
Removes the warning: TypeError: Cannot read property 'applet' of null BUG: 443287
parent
b0a0b425
Removes the warning: TypeError: Cannot read property 'applet' of null BUG: 443287
mentioned in commit f2bb218d