FMDB Javascript DB Object