Fixed js not calling download
It now ignores .orig files