Fixed error

- Small fix to remove all obvious alert / console.log errors