testing paths of javascript files