Ignore directories when listing {html,js} files