layout fixes
bugfix if js vm does not support consts
prepared datagrid fro dataview
replaced example with script