Update autoheight.js

fix autoheight bug
Merge pull request #118 from wyqbailey/patch-1

Update autoheight.js