Move jquery-ui dependency to pages module