Adapt Sdb.JS for mobile/tablet