I've created a javascript file and put the source to call it in my html file