fix javascript links