Fix javascript links