Update device app archetype

Parses JS files
Removed extraneous files