Create a separate js file
Add the source of js file