deposit: fix for DOI page property when undefined

* Closes #77.

* Passes JSHint and JSBeautifier.

* Filters out the returning object of undefined values.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>