Fixed front end JS
Fixed backed, now it retrieve list of pdf files
Improved index.jade template