Python Access Object In Javascript Syntax For Opening