changed text function to return current textContent if no argument provided
created stop function