clean up index file, add data- for html validation, clean up appjs