updated ui and jquery functions for page framework