big changes

modal changes. if there are no notes then the notes table wont print.
edited base to allow adding different .js files per page. removed
extrat html. you can now add every device type properly.