js & db changes, adding ios & android sqlite moving