Update javascript_code