This has very recently changed and now you should really do this in javascript, which conveniently now has its own tab.
I would start here: