Add medium solution for 2013-11-19 in JS