fix javascript error, fix css height