Chage to functions load order
Javascript AppConfig added