prevent access to uninitialized data object in new_handler()

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