Fix lint errors (semicolons), remove window references to allow rendering on Node