JavaScript code style
Smart ignore case when searching