Refactor of JS
Added application level scripts to inventory. updated zip.