Fixed iOS JavaScript elastic scroll bug, improved readability and performances, better markup.