fix jslint errors,

jslint complains about missing semicolons and functions not always returning a value

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
add updateDB method using the 'since flag'

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>