add editor to run some javascript testing codes.