Avoid direct access to Database Tables in Javascript | CAST Appmarq