appConfig uri fix, scripts optimization

scripts from views were moved to sections at the bottom of layout