added edge version of js to test in jsfiddle