Create listview.js

This file contains the javascript code to bind the files with the listview. The listview exposes two properties of files: name and path.