Set post editbox from main javascript instead of inlined.