Prevent access to uninitialized data object in new_handler() function

fix related to https://github.com/cowboy/jquery-resize/issues/1