view module improved now it automatically adds assigned variables as javascript variables under window.gracenode object