added links and fixed js