Revert "making Js more understandable"

This reverts commit 80cb42d103e321e3628b190ff0c8b88084bca5c5.