Moved init() into constructor. Made placeholder visibility CSS-based.