Revert "Revert "app/res:dock:: merge win7mode to master.""

fix the js runtime problem.

reason:
my mistake, some global variablies is undefined.

This reverts commit 1c9b460d69fc5505ea31e691b86e42a3de095c24.

Change-Id: I91f6cb30b4b466efded7bad2f41aaf398ab705d2