merged latest lwf (reverted the change for locationOfIntArray).
changed onload -> onpageshow/onpagehide.