Added javascript editor for calculated values