Cross browser compatability and small search bug fix