How to add javascript code in blog posts?

Hi guys!
help me please, how can i add javascript code in blog posts? I’m truying to add via html-code widget, but it does’t working
http://prntscr.com/mkytcj