The file filter function in model.js replaces a bit too much in certain cases:
My path is "a" and my file name (dir name) is "aabg". This line cuts off the first letter. This is mainly because the "/" in the RegExp is optional.
I don't know what this scoping is for, but maybe it was meant to replace file.path instead of path?
Also, an empty searchstr results in a useless <b></b> in front of file names. Checking if searchstr is empty before marking a match should work.