Revert "GWT-634: editing javascript dependency fixed"

This reverts commit 13fbacb824ec223d99159c563863358dd7652064.
Revert "GWT-634: dependency on javascript-api of GWT2"

This reverts commit 70b41dda77a85f089ac656004529aa14c8e2e061.
Revert "GWT-634: javascript api removed"

This reverts commit 7e164b509cdff08149ed618870869f8c6e9c002f.
Revert "GWT-634: javascript api removed"

This reverts commit 0e1d9d8a42b1ad111a45c2414bb0677f9756b8d6.
GWT-641: javascript implementation of measure distance info controller