Added AJAX note preview, made note styles universal.