Added js solution for 101