Using a more up to date JavaScript