Update com.alcoapps.dbhelper.js

Escape data inserted or updated
Fix the count routine