fix layout, calculator.js on empty strings