Add new attributes to 'table' field - remove constants from js-code.

Change-Id: I054decd902bdc07b1c7af40b71ddb62e4050671b
Closes-bug: #1239763
Merge "Add new attributes to 'table' field - remove constants from js-code."