use jQuery ready event to initialize page