adding html and js for action words