Time for action – creating a JavaScript component