antoniop
committed
on 22 Jan
Use modern javascript and browser features to simplify the code