Personal library app with phonegap