add js solution to problem_11