Python Create Function In Javascript Onclick Action News