Remove dead code
Use js to make adaptation
fix height