JS in live edit example