add osx js post