change function names, they should start with underline in script.js