updated notes
separated js from html