Moved interface JS code into Interface.js (in webserver repo).