fixed nipped code in playerOpen.js