added a try catch ... sometimes you could get error in the listPageLoaded when carpages wasn't an array
Merge pull request #3 from freshie/master

try catch for listPageLoaded