Changed javascript translation loading
Added escaping in record
Added minor exceptions in mysqli adapter