add jquery.resize, fix resize issues and warning message