a simple js editor, depend on jquery