formulation continuation

added edit on formulation and some client side scripts