Implement setVisible, and stub out setPosition in js