More lightweight solution - only wrapper around textbox, updated css, removed unused code, unified coding style