updated potato and JS