added the function to the script.js in the Stung! folder