cleanup html code in template + keyboard size