Changed indexOf('file:///') from != -1 to == 0