pretty not working without jquery