Added firmware detection to application.js

Firmware detection is now done in application.js and the code has been
removed from WebServer.py :)