Added js to view folder
Binded upperSearch to searchIndex controller
Fixed some problems involving post method