compile CSS and add carets to js page nav