updated app to a more consise way of conditionally loading jquery version