Fixed several UI / resizing issues on JavaScript tab