Fixes editor non AJAX Javascript issues.

Issue #288