Speed up rendering of notes by setting z-index of certain elements in CSS instead of JS.