Remove the window declarations; just module.exports