Remove unused javascript links