Changing the gui to make javascript classes.