Update myplaceonline.js
Refactor myplaceonline.js