Add algorithm implementation in JS