added new script upload file
fixed bug in filter data in query handler
moved scripts to head in index.html