Change let to var in hopes of fixing JS in Chrome