Interim commit to reorg JS
JS namespaced - app working - 14/12/2014