Translating script from C# to JS

Hi, So i finally got a script to work but it’s in C# and I am horrible with using that language. I work best with JS and i was hoping someone could translate this short script
using UnityEngine;
using System.Collections;

public class Healthscript : MonoBehaviour {
	public int maxHealth = 100;
	public int curHealth = 100;
	void Start () {
	
	}

	void Update () {
	
	}
	void OnGUI () {
		GUI.Box (new Rect(10,10,Screen.width / 2 /(maxHealth / curHealth),20 ), curHealth + "/" + maxHealth);

//those two lines are on one line in the script
}

}

It is very easy, just take a simple unity javascript and you should be able to rewrite it by identification.

Or maybe it is time to learn the 2 languages, if you are curious about that:

JS

c# vs JS

    public  var maxHealth : int = 100;
    public  var curHealth : int = 100;
    
    function Start () {
 
    }
 
    function Update () {
 
    }
    
    function OnGUI () {
    
        GUI.Box (new Rect(10,10,Screen.width / 2 /(maxHealth / curHealth),20 ), curHealth + "/" + maxHealth);
    }

for the future, try not to post such simple translation questions.

cheers