added an arm to the javascript