Refactored app to use mobileinit event.  Removed second JS logic file