edit js for autoresize - still not working