Changed regex to for loop in removeClass function
Added a seperate html file for autocomplete