Javascipt: App Initialize