new device page and js controller