removed fold from js