Began writing note preview JS.