fix osx-dock bug, update osx-message.js