Ui js fixes

Two changes to reduce the amount of unnecessary whitespace (height only, really) around plan visualizations in the editor. Also affects the profile view, but I verified that it still works/looks fine.

@domoritz You are probably the best reviewer, but I will understand if you're too busy and then I'll just merge.