Added code comment to the "execute JavaScript" function, Doxygen style.