fixed edet with js