js to erb