tidying up js files. removed jquery-ui for non-admin pages