Fixed function name in init.js