Live demo more browsers, refactor the code