How to scan js with variables? eg: translate("string" + test['status'] ); currently it gives a exception