Fix input searching, use lowercase css attribute naming
Remove dead code