cubiq/iscroll — pull request #455 by krasimir (2013-08-11 10:50:48+00:00)
Title: Showing a proper error if the wrapper is null

There is no check if the passed id (or element) is wrong. So, the library shows:
Uncaught TypeError: Cannot read property 'children' of null
I added a simple but helpful message to show exactly what is going on. Otherwise, if you have many calls of "new IScroll" you will not be able to find out which one is problematic.