added platform files to repo
Consolidated service.js and fritsservice.js
Improved commenting of js and moved some to a .js file out of .html.
New version of alarms according to new model