- removed anonymous function from functions.js