This is the JavaScript code

A separate Javascript file.