Void doesn't need var in javascript translation