Removed unnecessary todo.
Renamed variable to meaningful name.
Replaced 'onclick' attribute with 'render' and 'execute' attributes (bug fix).