fix: Uncaught TypeError: string is not a function

Script is not working because of missing semicolon