Fixed javascript validation bug
Added server-side search. Close #104.