Fixes problem with absolute file paths in resource search path array
new js tests