Added pe7 js solution.