wrap all js with app namespace