Run browser-side JavaScript on lesson