combined test.sh into appjsbuild
made Command+M work as expected, also made app menu and window menu more osx-ish